package rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class StudentServiceImpl extends UnicastRemoteObject implements StudentInterface {

	public StudentServiceImpl() throws RemoteException {
	}

	@Override
	public String getStudentName(String  name)  throws RemoteException {
		System.out.println("我的名字叫"+name);
		return "大家好，我的名字叫"+name;
	}

}
